package com.say.bean.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.say.bean.common.BaseEntity;


@Entity
@Table(name = "trace")
public class Trace extends BaseEntity {

    private static final long serialVersionUID = -1514339275931016183L;

    private String userId;
    
    private String ip;

    private String remarks;

    private Date createTime;
    
    public Trace() {
    	super();
    }
    
    public Trace(String userId,String ip,String remarks) {
    	this.userId=userId;
    	this.ip=ip;
    	this.remarks=remarks;
    	this.createTime=new Date();
    }

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
